package com.YCH.apis.article.apis;

import com.YCH.model.article.dtos.AppUserArticleCategoryDto;
import com.YCH.model.article.pojos.TbArticleCategory;
import com.YCH.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.RequestBody;

public interface ArticleCategoryControllerApi {
    /**
     * 获取我的分类
     */
    ResponseResult loadUserArticleCategory(AppUserArticleCategoryDto dto);

    public ResponseResult loadCategory(AppUserArticleCategoryDto dto);
    /**
     * 添加文章种类分类
     * @param tbArticleCategory
     * @return
     */
    ResponseResult addUserArticleCategory(TbArticleCategory tbArticleCategory);

    /**
     * 删除种类分类
     * @param tbArticleCategory
     * @return
     */
    ResponseResult deleteArticleCategory(TbArticleCategory tbArticleCategory);

    /**
     * 修改分类
     * @param tbArticleCategory
     * @return
     */
    ResponseResult updateArticleCategory(TbArticleCategory tbArticleCategory);
}
